﻿<Window x:Class="WPFXMPPClient.SendRawXMLWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Loaded="Window_Loaded"
        Title="XML Debugger Window" Height="636" Width="606">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="498*" />
            <ColumnDefinition Width="86*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="40" />
            <RowDefinition Height="300*" />
            <RowDefinition Height="120*" />
            <RowDefinition Height="24" />
        </Grid.RowDefinitions>

        <Button Style="{DynamicResource ButtonSurface}" Grid.Row="0" Grid.Column="1" ToolTip="Clear" x:Name="ButtonClear" Click="ButtonClear_Click"  Width="30" Height="30" Padding="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" >
            <Image Source="Images/trash.png" Width="20" Height="20" VerticalAlignment="Center" Margin="0" />
        </Button>


        <RichTextBox IsReadOnly="True" IsDocumentEnabled="True"  Background="Beige" Grid.Row="1" HorizontalAlignment="Stretch" Name="textBoxLog" VerticalAlignment="Stretch" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Visible" Grid.ColumnSpan="2" />
        <TextBox Background="Beige" Grid.Row="2" HorizontalAlignment="Stretch" Name="textBoxSend" VerticalAlignment="Stretch" AcceptsTab="False" AcceptsReturn="True" Grid.ColumnSpan="2" />
        
        <Button Content="Send" Grid.Row="3" HorizontalAlignment="Right" Name="buttonSend" Width="75" Click="buttonSend_Click" Grid.Column="1" />
    </Grid>
</Window>
